package com.springboot.helloworld.bean;

import lombok.Data;

import java.io.Serializable;

/**
 * @version v1.0
 * @description: 通用返回对象
 * @author: xiaoliang.liu
 * @date: 2018/7/1 23:36
 */
@Data
public class Result<T> implements Serializable {
    private static final long serialVersionUID = 6901168465431403227L;

    /**
     * 返回码
     */
    private Integer code;

    /**
     * 描述信息
     */
    private String description;

    /**
     * 返回内容
     */
    private T data;
}
